package com.yyq.gxdc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@TableName("dish")
public class Dish implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;//菜品id
    private String categoryName;//菜品类别名称，必填
    private String name;//菜品名称，必填
    private Double price;//价格，必填
    private String rimage;//缩略图
}
